package org.dromara.system.domain.vo;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.system.domain.SimUserPurseRecords;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


/**
 * 用户钱包记录视图对象 sim_user_purse_records
 *
 * @author Lion Li
 * @date 2025-08-15
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = SimUserPurseRecords.class)
public class SimUserPurseRecordsVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @ExcelProperty(value = "")
    private Long id;

    /**
     *
     */
    @ExcelProperty(value = "")
    private Long userId;

    /**
     * 变更类型
     */
    @ExcelProperty(value = "变更类型")
    private Integer type;

    private String typeName;

    /**
     * 变更前积分
     */
    @ExcelProperty(value = "变更前积分")
    private BigDecimal sourceProfit;

    /**
     * 变更后积分
     */
    @ExcelProperty(value = "变更后积分")
    private BigDecimal targetProfit;

    //变更收益
    private BigDecimal changeProfit;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;

    private String userName;

    private String realName;

    private Date createTime;

}
